import Vue from 'vue'
import VueResource from 'vue-resource';
import common from '../../config/common';
Vue.use(VueResource);

export default {
  /**
   * 养老表格查询
   */
  getMemberInfoCareList(v1, v2, val) {
    return Vue.http.post("/homeCare/m/v1/getMemberInfoCareList/" + v1 + "/" + v2, val);
  },
  /**
   * 保存负责人
   */
  assignBedMamager(v1, val) {
    return Vue.http.post("/homeCare/m/v1/assignBedMamager/" + v1, val);
  },
  /**
   * 获取团队下拉菜单
   */
  getAllTeams() {
    return Vue.http.post("/teamManage/m/getAllTeams");
  },
  /**
   * 根据团队查询员工
   */
  getTeamMembers(teamId) {
    return Vue.http.post("/teamManage/m/getTeamMembers/" + teamId);
  },
  /**
   * 根据员工id查询套餐
   */
  getServicePlanItemBymemberId(memberId) {
    return Vue.http.get("/homeCare/m/getServicePlanItemBymemberId/" + memberId);
  },
  /**
   * 获取照护等级
   */
  getCareLevel(){
    return Vue.http.get("/serviceCombo/getCareLevelList");
  },
  /**
   * 更新服务计划状态
   */
  updateServicePlanStatus(memberId,val){
    return Vue.http.post("/servicePlan/updateServicePlanStatus/" + memberId,val);
  },
  /**
   * 保存员工服务计划安排信息
   */
  saveEmpServicePlanItemPlan(val){
    return Vue.http.post("/homeCare/m/saveEmpServicePlanItemPlan",val);
  },
  /**
   * 查询员工空余时间列表
   */
  queryEmpScListtoFree(val){
    return Vue.http.post("/homeCare/m/queryEmpScListtoFree",val);
  },






















}
